package com.jw.qme.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.jw.qme.domain.po.GroupMember;
import com.jw.qme.domain.po.Message;
import org.apache.ibatis.annotations.Param;

import java.time.LocalDateTime;
import java.util.List;

/**
 * ClassName: com.jw.qme.mapper
 * Datetime: 2025/4/4 下午7:27
 * Description:
 *
 * @author 汪佳泉
 * @version 1.0
 * @since 1.0
 */
public interface MessageMapper extends BaseMapper<Message> {

    List<Message> getMessages(@Param("fromName") String fromName,@Param("toName") String toName,@Param("lastTime") LocalDateTime lastTime,@Param("size") Integer size);

}
